<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!doctype html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <title>用户信息显示列表</title>
 <link rel="stylesheet" type="text/css" href="http://localhost/Gshop/Gshop/Gshop/Member/Tpl/Public/css/index.css">
</head>
<body>
   <div class="wrap">
        <!-- <div class="menu_list">
              <ul>
                <li></li>
                <li></li>
              </ul>
        </div> -->
        <div class="title-header">用户列表</div>
        <table class="table1">
             <thead>
                <tr>
                  <td>UID</td>
                  <td>姓名</td>
                  <td >订单详情</td>
                  <td>操作</td>
                </tr>
             </thead>
              <?php $hd["list"]["user"]["total"]=0;if(isset($userData) && !empty($userData)):$_id_user=0;$_index_user=0;$lastuser=min(1000,count($userData));
$hd["list"]["user"]["first"]=true;
$hd["list"]["user"]["last"]=false;
$_total_user=ceil($lastuser/1);$hd["list"]["user"]["total"]=$_total_user;
$_data_user = array_slice($userData,0,$lastuser);
if(count($_data_user)==0):echo "";
else:
foreach($_data_user as $key=>$user):
if(($_id_user)%1==0):$_id_user++;else:$_id_user++;continue;endif;
$hd["list"]["user"]["index"]=++$_index_user;
if($_index_user>=$_total_user):$hd["list"]["user"]["last"]=true;endif;?>

                    <tr>
                          <td><?php echo $user['uid'];?></td>
                          <td><?php echo $user['uname'];?></td>
                          <td></td>
                          <td>
                            <a href="" class='btn1'>删除</a>
                            <a href="" class='btn1'>锁定</a>
                          </td>
                    </tr>
              <?php $hd["list"]["user"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
        </table>
   </div>
</body>
</html>